package com.amsp.oa.oademo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@TableName("background_investigation")
@ApiModel(description = "背景调查表")
public class BackgroundInvestigation {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("主键ID")
    private Long id;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("应聘职位")
    private String appliedPosition;

    @ApiModelProperty("原公司名称")
    private String previousCompany;

    @ApiModelProperty("在原公司的工作时间")
    private String workTimeInPreviousCompany;

    @ApiModelProperty("调查接待人")
    private String investigationReceiver;

    @ApiModelProperty("电话")
    private String phoneNumber;

    @ApiModelProperty("职位")
    private String position;

    @ApiModelProperty("薪金水平")
    private String salaryLevel;

    @ApiModelProperty("工作职责描述")
    private String jobResponsibilities;

    @ApiModelProperty("工作表现")
    private String workPerformance;

    @ApiModelProperty("与同事、上司的关系")
    private String relationship;

    @ApiModelProperty("离职原因")
    private String reasonForLeaving;

    @ApiModelProperty("备注")
    private String remarks;

    @ApiModelProperty("调查人员签名")
    private String investigatorSignature;

    @ApiModelProperty("调查日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private LocalDate investigationDate;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime updateTime;
}